package org.stratusdb.funsql.execute;

import java.io.Serializable;

import org.stratusdb.types.TableType;
import org.stratusdb.error.Error;

public abstract class AbstractOperator implements Serializable{

	private static final long serialVersionUID = -5580853707848919989L;

	protected Error lastError = Error.NO_ERROR;	
	
	public Error getLastError() {
		return lastError;
	}

	public abstract Error open();
	
	public abstract TableType next();
	
	public abstract Error close();
}
